package com.business.bean.oa;

import lombok.Getter;
import lombok.Setter;
import net.sf.rose.jdbc.bean.ModelBean;
import net.sf.rose.jdbc.bean.annotation.Column;
import net.sf.rose.jdbc.bean.annotation.Table;
import net.sf.rose.jdbc.bean.annotation.Type;

/**
 * @author fengjian E-mail: 9110530@qq.com
 * @version 创建时间：2019年9月21日
 */
@Setter
@Getter
@Table(name = "OA_NOTICE", description = "通知公告表")
public class NoticeBean extends ModelBean {

	@Column(pk = true, type = Type.定长文本, description = "记录编号", canNull = false, size = 32, policy = "UUID")
	private String noticeID = null;

	@Column(type = Type.变长文本, description = "标题", size = 250)
	private String title = null;

	@Column(type = Type.超长文本, description = "内容")
	private String content = null;

	@Column(type = Type.变长文本, description = "允许角色", size = 250)
	private String authorRole = null;

	@Column(type = Type.变长文本, description = "禁止角色", size = 250)
	private String forbidRole = null;

	@Column(type = Type.变长文本, description = "允许部门", size = 250)
	private String authorDepart = null;

	@Column(type = Type.变长文本, description = "禁止部门", size = 250)
	private String forbidDepart = null;

	/** 有效：1；结束：2 */
	@Column(type = Type.数字整型, description = "状态")
	private int status = 0;

}
